// var DB = require("../lib/db_pg").DB;
var DB = require("../lib/db_mysql").DB;
var config = require('../lib/config');
var resErr = require('../lib/util.js').resErr;
var md5 = require('../lib/util.js').md5;
var async = require('async');
var http_request = require('../lib/util.js').http_request;
var send_tpl_msg_test = require('./wechat.js').send_tpl_msg_test;

//调用推送接口并保存消息
exports.send_msg = function(req, res){
	async.waterfall([
		function(cb){ //根据req.serialized_openid逐条推送微信消息
			//send_tpl_msg_test(req, res);

		},function(cb){ //将已发送消息保存到t_msg

		}
	], function(err){

	});
}

